package com.tarzan.oauth;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.tarzan.common.core.extend.ApolloConfInitializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableEurekaClient
@EnableFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableApolloConfig
public class TarzanOauthApplication {

    public static void main(String[] args) {
        ApolloConfInitializer.init();
        SpringApplication.run(TarzanOauthApplication.class, args);
    }

}
